<!--main content start-->
<script src="js/workflow/TBLX/first-BSB.js"></script>
<script src="js/CertusFileUpload.js"></script>
<section id="main-content">
    <section class="wrapper">
        <!--state overview end-->
        <div class="row first">
            <div class="col-lg-12">
                <section class="panel">
                    <header class="panel-heading">
                        投标信息
                    </header>
                    <div class="panel-body">
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">客户名称</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" ng-model="bid.cusName" disabled />
                            </div>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">项目名称</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" ng-model="bid.proName" disabled />
                            </div>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">优先级</label>
                            <div class="col-sm-10">
                                <select class="form-control" ng-model="bid.precedence" certus-required>
                                    <option ng-repeat="x in precedenceSelect" value="{{x.precedence}}">{{x.name}}
                                    </option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">交标截止日期</label>
                            <div class="col-sm-10">
                                <input id="datetimeid" type="text" value="" class="form-control"
                                    ng-model="bid.deadlineDate" certus-required>
                            </div>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">项目名称</label>
                            <div class="col-sm-10">
                                <!--<input type="text" class="form-control" ng-model="bid.proName" disabled/>-->
                                <a class="icon-pinfo" href="javascript:showProInfo();">{{bid.proName}}</a>
                            </div>
                        </div>
                        <div ng-if="bid.oldOpinionMsg && bid.oldOpinionMsg != ''">
                            <div class="form-group customerForm">
                                <label class="col-sm-2 control-label">退回说明</label>
                                <div class="col-sm-10">
                                    <textarea class="form-control" maxlength="120" ng-model="bid.oldOpinionMsg"
                                        disabled></textarea>
                                </div>
                            </div>
                        </div>
                        <div class="form-group customerForm">
                            <label class="col-sm-2 control-label">选择审批人(必填)</label>
                            <div class="col-sm-10">
                                <input type="text" placeholder="自动检索，查询结果较多时候，系统不显示，需要尽量多输入相关字段" class="form-control"
                                    ng-model="bid.principalName" user-datalist="bid.principalName" disabled>
                            </div>
                        </div>

                    </div>
                </section>

                <section class="panel">
                    <div class="panel-body">
                        <p class="default-buttons">
                            <a href="javascript:void(0);" class="button-back btn btn-info"
                                onclick="window.history.back()">返回</a>
                            <a href="javascript:void(0);" class="button-next  btn btn-success"
                                ng-click="submit()">确认提交</a>
                        </p>
                    </div>
                </section>
                <section class="panel">
                    <div class="panel-heading">
                        审批记录
                    </div>
                    <div class="panel-body">
                        <ul class="tp-ulst">
                            <li>
                                <span>人员姓名 </span><span>修改时间</span><span>处理结果</span>
                            </li>
                            <div ng-repeat="ss in processs">
                                <li>
                                    <span>{{ss.USER}}</span><span>{{ss.time | date:'yyyy-MM-dd hh:mm'}}</span><span>{{getsssbbb(ss.lastStatus)}}，{{ss.msg}}</span>
                                </li>
                            </div>
                        </ul>
                    </div>
                </section>
            </div>
        </div>
        <div class="two" ng-include="'lproinfo/lproinfo.html'"></div>
    </section>
</section>

<script src="js/project/index.js"></script>